package  com.ruoyi.subsidy.service;

import  com.ruoyi.subsidy.domain.SysSubsidyApplication;
import  com.ruoyi.subsidy.domain.vo.SysSubsidyApplicationVo;
import  com.ruoyi.subsidy.domain.bo.SysSubsidyApplicationBo;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 补贴申请Service接口
 *
 * @author nbacheng
 * @date 2025-08-07
 */
public interface ISysSubsidyApplicationService {

    /**
     * 查询补贴申请
     */
    SysSubsidyApplicationVo queryById(Long id);

    /**
     * 查询补贴申请列表
     */
    TableDataInfo<SysSubsidyApplicationVo> queryPageList(SysSubsidyApplicationBo bo, PageQuery pageQuery);

    /**
     * 查询补贴申请列表
     */
    List<SysSubsidyApplicationVo> queryList(SysSubsidyApplicationBo bo);

    /**
     * 新增补贴申请
     */
    Boolean insertByBo(SysSubsidyApplicationBo bo);

    /**
     * 修改补贴申请
     */
    Boolean updateByBo(SysSubsidyApplicationBo bo);

    /**
     * 校验并批量删除补贴申请信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
